import config from "@/config";
import http from "@/utils/request";
// 获取页面所有数据
export const getAllData = {
	url: `${config.BASE_URL}/message/ready`,
	name:"未回收-获取页面数据",
	get: async function()  {
		return await http.get(this.url)
	}
}
// 姓名查询功能
export const searchData = {
	url: `${config.BASE_URL}/message/found`,
	name:"未回收-获取页面数据",
	post: async function(params="")  {
		return await http.post(this.url+params)
	}
}
// 收材料
export const recMaterial = {
	url: `${config.BASE_URL}/message/take`,
	name:"未回收-收材料",
	post: async function(params="")  {
		return await http.post(this.url+params)
	}
}
// 导出数据功能
export const deriveData = {
	url: `${config.BASE_URL}/message/exportready`,
	name:"未回收-导出功能",
	get: async function()  {
		return await http.get(this.url)
	}
}
